#ifndef __DS1302_H
#define __DS1302_H
#include <REGX52.H>

#define DS1302_SCLK P3_6
#define DS1302_IO P3_4
#define DS1302_CE P3_5

void DS1302_Init(void);
void DS1302_WriteByte(unsigned char cmd,value);
unsigned char DS1302_ReadByte(unsigned char cmd);

#endif